package com.pl.itsense.gwt.clientzone.client;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.pl.itsense.gwt.clientzone.model.MemberDTO;

/**
 * The client side stub for the RPC service.
 */
@RemoteServiceRelativePath("clientzone")
public interface ClientZoneService extends RemoteService {
	MemberDTO login(String login,String password) throws IllegalArgumentException;
	MemberDTO register(MemberDTO memberDTO) throws IllegalArgumentException;
	MemberDTO update(MemberDTO memberDTO) throws IllegalArgumentException;
	Boolean event(Long memberId, int eventType, String msg) throws IllegalArgumentException;
	Boolean removeAccount(Long memberId) throws IllegalArgumentException;
}
